package com.flow.demo.module.gd.controller.app.good.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Schema(description = "管理后台 - 奖品新增/修改 Request VO")
@Data
public class GoodSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "11200")
    private Integer prizeId;

    @Schema(description = "奖品名称", example = "张三")
    private String prizeName;

    @Schema(description = "库存")
    private Integer prizeStock;

    @Schema(description = "中奖概率，数值越大中奖概率越高，权重一样时随机中奖")
    private Integer prizeWeight;

    @Schema(description = "奖品图片")
    private String prizeImage;

}
